package com.xiaoyu.studyworkspace.common.kapaentity.websocket;

import java.util.HashMap;
import java.util.Map;

/**
 * {
 * "1":{"betTotal":1271.5000,"playerNumber":17,"roomId":"1","roomName":"月亮湾"},
 * "2":{"betTotal":621.4000,"playerNumber":13,"roomId":"2","roomName":"听雨楼"},
 * "3":{"betTotal":636.2000,"playerNumber":11,"roomId":"3","roomName":"碧水间"},
 * "4":{"betTotal":335.6000,"playerNumber":14,"roomId":"4","roomName":"含烟阁"},
 * "5":{"betTotal":382.7000,"playerNumber":10,"roomId":"5","roomName":"晴天阁"}
 * }
 */
public class KapaRoomID {
    public static final Map<Integer, String> roomName = new HashMap<>();
    public static final Map<String, Integer> roomByID = new HashMap<>();

    static {
        roomName.put(1, "月亮湾");
        roomName.put(2, "听雨楼");
        roomName.put(3, "碧水间");
        roomName.put(4, "含烟阁");
        roomName.put(5, "晴天阁");

        roomByID.put("月亮湾", 1);
        roomByID.put("听雨楼", 2);
        roomByID.put("碧水间", 3);
        roomByID.put("含烟阁", 4);
        roomByID.put("晴天阁", 5);
    }

}
